package com.junjie.blibli.service;

import com.junjie.blibli.Entity.Files;
import org.springframework.web.multipart.MultipartFile;

public interface FileService {
    String uploadFileBySlices(MultipartFile slice, String fileMd5, Integer sliceNo, Integer totalSliceNo) throws Exception;

    String getFileMD5(MultipartFile file) throws Exception;

    Files getFileByMD5(String fileMd5);

}
